package test.ttry;


import org.junit.Test;

import y_ut.dbtools.exp.DBDataExport;
import y_ut.dbtools.exp.ExpCsvZipWriter;

/**
 * 导出测试
 * @author youxz
 *
 */
public class Export {

	
	@Test
	public void Export01(){
		DBDataExport exp = new DBDataExport("oracle.jdbc.driver.OracleDriver", "jdbc:oracle:thin:@127.0.0.1:1521:BTOSDB", "btos", "123456", "btos");
		//DBDataExport exp = new DBDataExport("com.mysql.jdbc.Driver", "jdbc:mysql://localhost:3306/mysql", "root", "123456", "ROOT");
		exp.export(new ExpCsvZipWriter("E:/db-export/db6.zip"));
	}
	
	
}
